package com.atos.optical.service;

import com.atos.optical.common.BaseService;
import com.atos.optical.model.po.SysProductInfo;
import com.atos.optical.model.query.SysProductInfoQuery;

/**
 * @author wanghra
 * @version 1.0
 * @description
 * @date 2025/8/15
 */
public interface SysProductInfoService extends BaseService<SysProductInfo> {
    /**
     * 更新产品信息
     * 
     * @param userName
     * @param entity
     * @return
     */
    boolean update(String userName, SysProductInfo entity);
    /**
     * 分页查询
     *
     * @param query
     * @return
     */
    SysProductInfoQuery pageByQuery(SysProductInfoQuery query);
}
